import { propDecoratorFactory } from "./decorator.factory";


const toPixel = val => isNaN(val) ? 0 : `${val}px`;

export function InputPixel() {
  return propDecoratorFactory('InputPixel', toPixel);
}